package com.woniuxy.mapper;

import com.woniuxy.entity.Housing;
import com.woniuxy.entity.Owner;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OwnerMapper {
    List<Owner> queryOwner(Owner owner);

    void addOwner(Owner owner);

    boolean batchDelOwner(List<Integer> ids);

    Owner queruOwnerById(Integer id);

    void saveUpdate(Owner owner);

    boolean saveDelOwner(Integer id);

    void updateReamName(@Param("realName") String realName,@Param("id") Integer id);

    List<Owner> queryDetailOwner(Integer id);

    Owner queryDetailById(Integer id);
}
